#!/usr/bin/env bash

#weldan jamili, sept 30, 2011
#to join files. mkv contohnya
#useful? no? haipp.. 
#tis demonstrate one liner if else and arguments reading in bash. 
[[ $# = 0 ]] && echo "Usage: $0 file1 file2 file999 destfile" || cat ${@:1:$(($#-1))} >>${!#};echo "done!"

